package czy.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ip")
public class IPController {

    @GetMapping("/info")
    public String info(){
        return "这个接口只有指定ip客户才能访问";
    }

}
